# Contributor: mio <miyopan@e.email>
# Maintainer: mio <miyopan@e.email>
pkgname=blanket
pkgver=0.6.0
pkgrel=0
pkgdesc="Listen to different sounds to improve focus and increase productivity"
url="https://github.com/rafaelmardojai/blanket"
license="GPL-3.0-or-later"
# s390x: limited by libhandy
# riscv64: limited by gst-plugins-bad
arch="noarch !s390x !riscv64"
depends="gst-plugins-bad gst-plugins-base gst-plugins-good libadwaita
	python3 py3-gst py3-gobject3"
makedepends="appstream-glib-dev meson"
subpackages="$pkgname-lang"
source="https://github.com/rafaelmardojai/blanket/archive/$pkgver/blanket-$pkgver.tar.gz"

build() {
	abuild-meson . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test --no-rebuild -v -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
8269f6f4e5f805bbb52ca06035d469765c3115f841a8b57fda4db9c387ab50db5207ee57cd329173ce0f3e41abfc459e76af615fbb6f979f8e911ee73f74e861  blanket-0.6.0.tar.gz
"
